// vue router
import {createRouter, createWebHashHistory} from "vue-router"
import TestComponent from "../components/TestComponent";
import {Layout} from "../components/index"



const routes = [
    {
        path: "/lab",
        component: Layout,
        children: [
            {
                path: "test",
                component: TestComponent
            }
        ]
    }
]

const router = createRouter({
    history: createWebHashHistory(),
    routes
})

export default router